<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
<!-- qaccessible.cpp -->
  <title>QAccessibleTableModelChangeEvent Class | Qt GUI 5.14.2</title>
  <link rel="stylesheet" type="text/css" href="style/offline-simple.css" />
  <script type="text/javascript">
    document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css");
    // loading style sheet breaks anchors that were jumped to before
    // so force jumping to anchor again
    setTimeout(function() {
        var anchor = location.hash;
        // need to jump to different anchor first (e.g. none)
        location.hash = "#";
        setTimeout(function() {
            location.hash = anchor;
        }, 0);
    }, 0);
  </script>
</head>
<body>
<div class="header" id="qtdocheader">
  <div class="main">
    <div class="main-rounded">
      <div class="navigationbar">
        <table><tr>
<td ><a href="../qtdoc/index.html">Qt 5.14</a></td><td ><a href="qtgui-index.html">Qt GUI</a></td><td ><a href="qtgui-module.html">C++ Classes</a></td><td >QAccessibleTableModelChangeEvent</td></tr></table><table class="buildversion"><tr>
<td id="buildversion" width="100%" align="right"><a href="qtgui-index.html">Qt 5.14.2 Reference Documentation</a></td>
        </tr></table>
      </div>
    </div>
<div class="content">
<div class="line">
<div class="content mainContent">
<div class="sidebar">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#public-types">Public Types</a></li>
<li class="level1"><a href="#public-functions">Public Functions</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
</ul>
</div>
<div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">QAccessibleTableModelChangeEvent Class</h1>
<!-- $$$QAccessibleTableModelChangeEvent-brief -->
<p>The QAccessibleTableModelChangeEvent signifies a change in a table, list, or tree where cells are added or removed. If the change affected a number of rows, <a href="qaccessibletablemodelchangeevent.html#firstColumn">firstColumn</a> and <a href="qaccessibletablemodelchangeevent.html#lastColumn">lastColumn</a> will return -1. Likewise for columns, the row functions may return -1. <a href="#details">More...</a></p>
<!-- @@@QAccessibleTableModelChangeEvent -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign">   <span class="preprocessor">#include &lt;QAccessibleTableModelChangeEvent&gt;</span>
</td></tr><tr><td class="memItemLeft rightAlign topAlign"> qmake:</td><td class="memItemRight bottomAlign"> QT += gui</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherits:</td><td class="memItemRight bottomAlign"> <a href="qaccessibleevent.html">QAccessibleEvent</a></td></tr></table></div><ul>
<li><a href="qaccessibletablemodelchangeevent-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="public-types"></a>
<h2 id="public-types">Public Types</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qaccessibletablemodelchangeevent.html#ModelChangeType-enum">ModelChangeType</a></b> { ModelReset, DataChanged, RowsInserted, ColumnsInserted, RowsRemoved, ColumnsRemoved }</td></tr>
</table></div>
<a name="public-functions"></a>
<h2 id="public-functions">Public Functions</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qaccessibletablemodelchangeevent.html#QAccessibleTableModelChangeEvent-1">QAccessibleTableModelChangeEvent</a></b>(QAccessibleInterface *<i>iface</i>, QAccessibleTableModelChangeEvent::ModelChangeType <i>changeType</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qaccessibletablemodelchangeevent.html#QAccessibleTableModelChangeEvent">QAccessibleTableModelChangeEvent</a></b>(QObject *<i>object</i>, QAccessibleTableModelChangeEvent::ModelChangeType <i>changeType</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="qaccessibletablemodelchangeevent.html#firstColumn">firstColumn</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="qaccessibletablemodelchangeevent.html#firstRow">firstRow</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="qaccessibletablemodelchangeevent.html#lastColumn">lastColumn</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="qaccessibletablemodelchangeevent.html#lastRow">lastRow</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QAccessibleTableModelChangeEvent::ModelChangeType </td><td class="memItemRight bottomAlign"><b><a href="qaccessibletablemodelchangeevent.html#modelChangeType">modelChangeType</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qaccessibletablemodelchangeevent.html#setFirstColumn">setFirstColumn</a></b>(int <i>column</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qaccessibletablemodelchangeevent.html#setFirstRow">setFirstRow</a></b>(int <i>row</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qaccessibletablemodelchangeevent.html#setLastColumn">setLastColumn</a></b>(int <i>column</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qaccessibletablemodelchangeevent.html#setLastRow">setLastRow</a></b>(int <i>row</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qaccessibletablemodelchangeevent.html#setModelChangeType">setModelChangeType</a></b>(QAccessibleTableModelChangeEvent::ModelChangeType <i>changeType</i>)</td></tr>
</table></div>
<a name="details"></a>
<!-- $$$QAccessibleTableModelChangeEvent-description -->
<div class="descr">
<h2 id="details">Detailed Description</h2>
<p>This class is used with <a href="qaccessible-obsolete.html#updateAccessibility">QAccessible::updateAccessibility</a>().</p>
</div>
<!-- @@@QAccessibleTableModelChangeEvent -->
<div class="types">
<h2>Member Type Documentation</h2>
<!-- $$$ModelChangeType$$$ModelReset$$$DataChanged$$$RowsInserted$$$ColumnsInserted$$$RowsRemoved$$$ColumnsRemoved -->
<h3 class="fn" id="ModelChangeType-enum"><a name="ModelChangeType-enum"></a>enum QAccessibleTableModelChangeEvent::<span class="name">ModelChangeType</span></h3>
<p>This enum describes the different types of changes in the table model.</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>QAccessibleTableModelChangeEvent::ModelReset</code></td><td class="topAlign tblval"><code>0</code></td><td class="topAlign">The model has been reset, all previous knowledge about the model is now invalid.</td></tr>
<tr><td class="topAlign"><code>QAccessibleTableModelChangeEvent::DataChanged</code></td><td class="topAlign tblval"><code>1</code></td><td class="topAlign">No cells have been added or removed, but the data of the specified cell range is invalid.</td></tr>
<tr><td class="topAlign"><code>QAccessibleTableModelChangeEvent::RowsInserted</code></td><td class="topAlign tblval"><code>2</code></td><td class="topAlign">New rows have been inserted.</td></tr>
<tr><td class="topAlign"><code>QAccessibleTableModelChangeEvent::ColumnsInserted</code></td><td class="topAlign tblval"><code>3</code></td><td class="topAlign">New columns have been inserted.</td></tr>
<tr><td class="topAlign"><code>QAccessibleTableModelChangeEvent::RowsRemoved</code></td><td class="topAlign tblval"><code>4</code></td><td class="topAlign">Rows have been removed.</td></tr>
<tr><td class="topAlign"><code>QAccessibleTableModelChangeEvent::ColumnsRemoved</code></td><td class="topAlign tblval"><code>5</code></td><td class="topAlign">Columns have been removed.</td></tr>
</table></div>
<!-- @@@ModelChangeType -->
</div>
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$QAccessibleTableModelChangeEvent$$$QAccessibleTableModelChangeEventQAccessibleInterface*QAccessibleTableModelChangeEvent::ModelChangeType -->
<h3 class="fn" id="QAccessibleTableModelChangeEvent-1"><a name="QAccessibleTableModelChangeEvent-1"></a>QAccessibleTableModelChangeEvent::<span class="name">QAccessibleTableModelChangeEvent</span>(<span class="type"><a href="qaccessibleinterface.html">QAccessibleInterface</a></span> *<i>iface</i>, <span class="type"><a href="qaccessibletablemodelchangeevent.html#ModelChangeType-enum">QAccessibleTableModelChangeEvent::ModelChangeType</a></span> <i>changeType</i>)</h3>
<p>Constructs a new QAccessibleTableModelChangeEvent for interface <i>iface</i> with a model change type <i>changeType</i>.</p>
<!-- @@@QAccessibleTableModelChangeEvent -->
<!-- $$$QAccessibleTableModelChangeEvent[overload1]$$$QAccessibleTableModelChangeEventQObject*QAccessibleTableModelChangeEvent::ModelChangeType -->
<h3 class="fn" id="QAccessibleTableModelChangeEvent"><a name="QAccessibleTableModelChangeEvent"></a>QAccessibleTableModelChangeEvent::<span class="name">QAccessibleTableModelChangeEvent</span>(<span class="type"><a href="../qtcore/qobject.html">QObject</a></span> *<i>object</i>, <span class="type"><a href="qaccessibletablemodelchangeevent.html#ModelChangeType-enum">QAccessibleTableModelChangeEvent::ModelChangeType</a></span> <i>changeType</i>)</h3>
<p>Constructs a new QAccessibleTableModelChangeEvent for <i>object</i> of with <i>changeType</i>.</p>
<!-- @@@QAccessibleTableModelChangeEvent -->
<!-- $$$firstColumn[overload1]$$$firstColumn -->
<h3 class="fn" id="firstColumn"><a name="firstColumn"></a><span class="type">int</span> QAccessibleTableModelChangeEvent::<span class="name">firstColumn</span>() const</h3>
<p>Returns the first changed column.</p>
<p><b>See also </b><a href="qaccessibletablemodelchangeevent.html#setFirstColumn">setFirstColumn</a>().</p>
<!-- @@@firstColumn -->
<!-- $$$firstRow[overload1]$$$firstRow -->
<h3 class="fn" id="firstRow"><a name="firstRow"></a><span class="type">int</span> QAccessibleTableModelChangeEvent::<span class="name">firstRow</span>() const</h3>
<p>Returns the first changed row.</p>
<p><b>See also </b><a href="qaccessibletablemodelchangeevent.html#setFirstRow">setFirstRow</a>().</p>
<!-- @@@firstRow -->
<!-- $$$lastColumn[overload1]$$$lastColumn -->
<h3 class="fn" id="lastColumn"><a name="lastColumn"></a><span class="type">int</span> QAccessibleTableModelChangeEvent::<span class="name">lastColumn</span>() const</h3>
<p>Returns the last changed column.</p>
<p><b>See also </b><a href="qaccessibletablemodelchangeevent.html#setLastColumn">setLastColumn</a>().</p>
<!-- @@@lastColumn -->
<!-- $$$lastRow[overload1]$$$lastRow -->
<h3 class="fn" id="lastRow"><a name="lastRow"></a><span class="type">int</span> QAccessibleTableModelChangeEvent::<span class="name">lastRow</span>() const</h3>
<p>Returns the last changed row.</p>
<p><b>See also </b><a href="qaccessibletablemodelchangeevent.html#setLastRow">setLastRow</a>().</p>
<!-- @@@lastRow -->
<!-- $$$modelChangeType[overload1]$$$modelChangeType -->
<h3 class="fn" id="modelChangeType"><a name="modelChangeType"></a><span class="type"><a href="qaccessibletablemodelchangeevent.html#ModelChangeType-enum">QAccessibleTableModelChangeEvent::ModelChangeType</a></span> QAccessibleTableModelChangeEvent::<span class="name">modelChangeType</span>() const</h3>
<p>Returns the type of change.</p>
<p><b>See also </b><a href="qaccessibletablemodelchangeevent.html#setModelChangeType">setModelChangeType</a>().</p>
<!-- @@@modelChangeType -->
<!-- $$$setFirstColumn[overload1]$$$setFirstColumnint -->
<h3 class="fn" id="setFirstColumn"><a name="setFirstColumn"></a><span class="type">void</span> QAccessibleTableModelChangeEvent::<span class="name">setFirstColumn</span>(<span class="type">int</span> <i>column</i>)</h3>
<p>Sets the first changed <i>column</i>.</p>
<p><b>See also </b><a href="qaccessibletablemodelchangeevent.html#firstColumn">firstColumn</a>().</p>
<!-- @@@setFirstColumn -->
<!-- $$$setFirstRow[overload1]$$$setFirstRowint -->
<h3 class="fn" id="setFirstRow"><a name="setFirstRow"></a><span class="type">void</span> QAccessibleTableModelChangeEvent::<span class="name">setFirstRow</span>(<span class="type">int</span> <i>row</i>)</h3>
<p>Sets the first changed <i>row</i>.</p>
<p><b>See also </b><a href="qaccessibletablemodelchangeevent.html#firstRow">firstRow</a>().</p>
<!-- @@@setFirstRow -->
<!-- $$$setLastColumn[overload1]$$$setLastColumnint -->
<h3 class="fn" id="setLastColumn"><a name="setLastColumn"></a><span class="type">void</span> QAccessibleTableModelChangeEvent::<span class="name">setLastColumn</span>(<span class="type">int</span> <i>column</i>)</h3>
<p>Sets the last changed <i>column</i>.</p>
<p><b>See also </b><a href="qaccessibletablemodelchangeevent.html#lastColumn">lastColumn</a>().</p>
<!-- @@@setLastColumn -->
<!-- $$$setLastRow[overload1]$$$setLastRowint -->
<h3 class="fn" id="setLastRow"><a name="setLastRow"></a><span class="type">void</span> QAccessibleTableModelChangeEvent::<span class="name">setLastRow</span>(<span class="type">int</span> <i>row</i>)</h3>
<p>Sets the last changed <i>row</i>.</p>
<p><b>See also </b><a href="qaccessibletablemodelchangeevent.html#lastRow">lastRow</a>().</p>
<!-- @@@setLastRow -->
<!-- $$$setModelChangeType[overload1]$$$setModelChangeTypeQAccessibleTableModelChangeEvent::ModelChangeType -->
<h3 class="fn" id="setModelChangeType"><a name="setModelChangeType"></a><span class="type">void</span> QAccessibleTableModelChangeEvent::<span class="name">setModelChangeType</span>(<span class="type"><a href="qaccessibletablemodelchangeevent.html#ModelChangeType-enum">QAccessibleTableModelChangeEvent::ModelChangeType</a></span> <i>changeType</i>)</h3>
<p>Sets the type of change to <i>changeType</i>.</p>
<p><b>See also </b><a href="qaccessibletablemodelchangeevent.html#modelChangeType">modelChangeType</a>().</p>
<!-- @@@setModelChangeType -->
</div>
        </div>
       </div>
   </div>
   </div>
</div>
<div class="footer">
   <p>
   <acronym title="Copyright">&copy;</acronym> 2020 The Qt Company Ltd.
   Documentation contributions included herein are the copyrights of
   their respective owners.<br/>    The documentation provided herein is licensed under the terms of the    <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation    License version 1.3</a> as published by the Free Software Foundation.<br/>    Qt and respective logos are trademarks of The Qt Company Ltd.     in Finland and/or other countries worldwide. All other trademarks are property
   of their respective owners. </p>
</div>
</body>
</html>
